package cn.itcast.bos.dao.base;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import cn.itcast.bos.domain.base.Area;
import cn.itcast.bos.domain.take_delivery.Order;

public interface AreaRepository extends JpaRepository<Area, String>,JpaSpecificationExecutor<Area> {
  
	
	//自动分单的第二种情况   通过区域下分区关键字和详细地址进行匹配
	public Area findByProvinceAndCityAndDistrict(String province, String city, String district);

	 
      

	
}
